home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / System / MAJOR / Process / mix-tonality < prev    next >
Encoding:
Text File  |  1998-10-23  |  871 b   |  24 lines  |  [TEXT/ScoM]

  1. mix-tonality t1 t2
  2.  
  3. Mixes two tonalities appending all new notes of t2 at the end of t1. If you have a scale '(a b c d e f g h) it will first play t1 and then t2. Use sort-tonality if tonalities are needed to be fully mixed.
  4.  
  5. (mix-tonality (activate-tonality (c maj 1 1))
  6.               (activate-tonality (d min 1 3)))
  7. --> ((c 5 e 6 g 6 c 7 f 5 d 6 a 6 d 7))
  8.  
  9. (sort-tonality 
  10.  (mix-tonality (activate-tonality (c maj 1 1))
  11.                (activate-tonality (d min 1 3))))
  12. --> ((c 5 f 5 d 6 e 6 g 6 a 6 c 7 d 7))
  13.  
  14. Tonalities may have any number of items, and they are repeated if some or the other tonality list has more items.
  15.  
  16. (sort-tonality 
  17.  (mix-tonality 
  18.   (activate-tonality (c maj 1 1) (d min 1 3) (e min 1 3))
  19.   (activate-tonality (d min 1 3) (d min 1 3))))
  20. --> ((c 5 f 5 d 6 e 6 g 6 a 6 c 7 d 7) 
  21.      (f 5 d 6 a 6 d 7) 
  22.      (f 5 g 5 d 6 e 6 a 6 b 6 d 7 e 7))
  23.  
  24.